package org.dzq.designmode.factory.abstractfactory;

import org.dzq.designmode.factory.abstractfactory.bean.HuaWeiPhone;
import org.dzq.designmode.factory.abstractfactory.bean.HuaWeiRouter;
import org.dzq.designmode.factory.abstractfactory.bean.Phone;
import org.dzq.designmode.factory.abstractfactory.bean.Router;

/**
 * @ClassName: HuaWeiFactory
 * @Package: org.dzq.designmode.factory.abstractfactory
 * @author: 越
 * @date: 2023/6/12 22:56
 * @Description:
 */
public class HuaWeiFactory implements AbstractFactory{
    @Override
    public Phone getPhone() {
        return new HuaWeiPhone();
    }

    @Override
    public Router getRouter() {
        return new HuaWeiRouter();
    }
}
